.background {
    background-image: url('http://p8np6teyy.bkt.clouddn.com/chatroombackground');
}

.mianFrame {
    max-width: 100%;
    min-width: 800px;
    height: 100%;
    margin: 0 auto;
    overflow: hidden;
    background: #2e3238;
}

.panel {
    position: relative;
    width: 280px;
    height: 100%;
    float: left;
    background: #2e3641;
}

.header {
    padding: 18px;
    border-bottom: 1px solid #cccccc;
    height: 85px;
}

.avatar {
    float: left;
    margin-right: 20px;
    position: relative;
}

.box {
    position: relative;
    background-color: #eee;
    height: 100%;
    overflow: hidden;
}

.textareaHead {
    position: absolute;
    width: 100%;
    padding-top: 5px;
    padding-bottom: 5px;
    text-align: center;
    font-size: 15px;
    border-style: groove;
}

.textarea {
    position: absolute;
    right: 0;
    left: 0;
    top: 5.7%;
    width: 100%;
    height: 67%;
}

.sendButton {
    left: 600px;
    position: absolute;
    background-color: #fff;
    color: #222;
    display: inline-block;
    border: 1px solid #c1c1c1;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    padding: 4px 30px;
    font-size: 14px;
}

.chatMessageBox {
    margin-top: 15px;
    margin-left: 15px;
    min-height: 57px;
    margin-bottom: 18px;
}

.chatMessageBox_me {
    margin-top: 15px;
    text-align: right;
    margin-right: 65px;
    margin-left: 15px;
    min-height: 57px;
    margin-bottom: 18px;
}

.chatAvatar {
    position: absolute;
    height: 40px;
    width: 40px;
    border-radius: 5px;
}

.chatAvatar_me {
    right: 15px;
    position: absolute;
    height: 40px;
    width: 40px;
    border-radius: 5px;
}

.chatTime {
    margin-left: 50px;
    margin-bottom: 3px;
    font-size: xx-small;
}

.chatMessgae {
    display: inline-block;
    max-width: 500px;
    font-size: small;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 12px;
    padding-top: 12px;
    margin-left: 50px;
    background-color: white;
    border-radius: 4px;
    word-wrap: break-word;
    overflow: hidden;
}

.chatMessgae_me {
    text-align: left;
    display: inline-block;
    max-width: 500px;
    font-size: small;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 12px;
    padding-top: 12px;
    background-color: #B2E281;
    border-radius: 4px;
    word-wrap: break-word;
    overflow: hidden;
}

.systemMessage {
    text-align: center;
    margin-bottom: 10px;
    margin-top: 10px;
    margin-left: 200px;
    margin-right: 200px;
    color: #f9f2f4;
    background-color: #d4d4d4;
}

.box_ft {
    padding-top: 15px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 15px;
    outline: none;
    resize: none;
    position: absolute;
    right: 0;
    bottom: 7.5%;
    left: 0;
    height: 20%;
    width: 100%;
    background-color: #eee;
    border-style: solid none none none;
}

.chat_item {
    background-color: #2e3641;
    overflow: hidden;
    padding: 12px 18px 11px;
    border-bottom: 1px solid #292c33;
    width: 100%;
    cursor: pointer;
    position: relative;
}

.send {
    position: absolute;
    right: 0;
    bottom: 2.5%;
    left: 0;
    width: 100%;
    height: 5%;
}

.scroll {
    overflow-y: scroll;
}

::-webkit-scrollbar-track-piece {
    background-color: #f8f8f8;
}

::-webkit-scrollbar {
    width: 9px;
    height: 9px;
}

::-webkit-scrollbar-thumb {
    background-color: #dddddd;
    background-clip: padding-box;
    min-height: 28px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #bbb;
}









